package com.inifitness.admin.core.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.alibaba.excel.annotation.write.style.ColumnWidth;

import lombok.Data;

/**
 * 用户导出视图对象
 *
 * @author sunjinfeng
 * @since 2024/04/18 11:00:00
 */

@Data
@ColumnWidth(20)
public class UserExportVO implements Serializable {

  @Serial
  private static final long serialVersionUID = 3253542396969429269L;

  @ExcelProperty(value = "用户名")
  private String username;

  @ExcelProperty(value = "用户昵称")
  private String nickname;

  @ExcelProperty(value = "部门")
  private String deptName;

  @ExcelProperty(value = "性别")
  private String gender;

  @ExcelProperty(value = "手机号码")
  private String mobile;

  @ExcelProperty(value = "邮箱")
  private String email;

  @ExcelProperty(value = "创建时间")
  @DateTimeFormat("yyyy/MM/dd HH:mm:ss")
  private LocalDateTime createTime;


}
